package com.star.jersey.mybatisplus.base.core.contract.enums;

public enum SortTypeEnum implements IEnum<String> {
    ASC("ASC", "升序"),
    DESC("DESC", "降序");

    private String code;
    private String desc;

    private SortTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }
}
